package Java.BlackHorse.Thread.ThreadMethod4;

public class ThreadDemo {
    /*
    * public static void yield() 出让/礼让 线程
    * */
    public static void main(String[] args) {
        MyThread mt1 = new MyThread("Thread 1 ");
        MyThread mt2 = new MyThread("Thread 2 ");

        mt1.start();
        mt2.start();

    }
}
